package com.turing.usdtpay.mvp.contract;

import android.app.Activity;

import com.turing.usdtpay.entity.PayData;
import com.turing.usdtpay.mvp.presenter.BasePresenter;
import com.turing.usdtpay.mvp.view.BaseView;

import java.io.File;

/**
 * @作者：JAY
 * @创建时间：2019/11/1 18:56
 * @描述：
 **/
public class PaySettingContract {

    public interface View extends BaseView<Present> {
        public void saveSuccess();

        public void getSuccess(PayData data);

        public void uploadSuccess(int type);

        public void onFail(String msg);

        public void onProgress(int progress);
    }

    public interface Present extends BasePresenter {
        public void getPayInfo(Activity activity);

        public void uploadImage(Activity activity,String id,int type,File file);

        public void saveSetting(Activity activity,int channel,String name,String bank_name,String bank_id);
    }
}
